<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Atualizar Cliente</title>
</head>
<body>
	<fieldset>
			<legend>Cadastro de Cliente</legend>
			<form:form action="/requisiteworks/cliente/atualizar.do" method="POST" modelAttribute="cliente">
				<form:hidden path="numero"/>
				<table class="form">
					<tr>
						<td>
							<form:label path="nomeFantasia" cssErrorClass="erro">Nome Fantasia: </form:label>
						</td>
						<td>
							<form:input path="nomeFantasia" cssErrorClass="erro" maxlength="128"/>							
						</td>
						<td>
							<ul>
								<form:errors path="nomeFantasia" cssClass="erro" element="li"></form:errors>
							</ul>
						</td>
					</tr>
					
					<tr>
						<td>
							<form:label path="razaoSocial" cssErrorClass="erro">Nome Fantasia: </form:label>
						</td>
						<td>
							<form:input path="razaoSocial" cssErrorClass="erro" maxlength="128"/>
						</td>
						<td>
							<ul>
								<form:errors cssClass="erro" path="razaoSocial" element="li"></form:errors>
							</ul>
						</td>
					</tr>
				</table>
				<p>
					<input type="submit" value="Salvar"/>
				</p>
			</form:form>
		</fieldset>
</body>
</html>